<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>北京大学计算机应用设计大赛</title>
<link href="/css/basic.css" rel="stylesheet" type="text/css" />
<link href="/css/form.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div id="login_panel" class="panel">
	<div class="panel_header">北京大学计算机应用设计大赛 | 评委登录</div>
    <s:form cssClass="panel_content" action="doLogin" method="post">
    	<s:if test="%{hasActionErrors()}"><div class="form_line form_error"><s:property value="actionErrors[0]" /></div></s:if>
        <s:if test="%{hasActionMessages()}"><div class="form_line form_tip"><s:property value="actionMessages[0]" /></div></s:if>
        <div class="form_line"><span class="line_label">姓名：</span><s:textfield name="account.name" cssClass="text" type="text" spellcheck="false" autofocus="" tabindex="1"></s:textfield><s:if test="%{fieldErrors['account.name']!=null}"><span class="line_error"><s:property value="fieldErrors['account.name'][0]" /></span></s:if></div>
		<div class="form_line"><span class="line_label">密码：</span><s:password cssClass="text" type="password" name="account.password" tabindex="2"></s:password><s:if test="%{fieldErrors['account.password']!=null}"><span class="line_error"><s:property value="fieldErrors['account.password'][0]" /></span></s:if></div>
        <div class="form_line"><input class="button" type="submit" value="登 录" tabindex="3" /><a href="http://www.google.cn/chrome">推荐使用谷歌浏览器</a></div>
	</s:form>
</div>
</body>
</html>